package com.service.healthycode.service;

import com.service.config.utils.Result;
import com.service.healthycode.dto.LoginUserDto;
import com.service.healthycode.dto.SmsCode;
import com.service.healthycode.dto.UserDto;
import com.service.healthycode.dto.UserInfoDto;
import com.service.healthycode.entity.UserInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

/**
 * @author: hjl
 * @date: 2022/04/12 15:57
 * @description:
 */
public interface UserInfoService {
    HashMap getToken(LoginUserDto loginUserDto, HttpServletRequest httpServletRequest) throws Exception;

    UserInfo queryAll(LoginUserDto loginUserDto);

    UserInfo register(UserInfoDto userInfoDto, String realIp);

    UserDto queryByUserId(String userId);

    Result updateUserInfo(UserInfoDto userInfoDto) throws Exception;


}
